<?php

class Zend_View_Helper_Leftproduct
{
	public function leftproduct()
	{		
		//左侧产品
		$myCache = Zend_Registry::get('myCache');
		$uriKey = md5($_SERVER ['REQUEST_URI'].'_'.date('Y-m-d'));
		$leftShowProduct = $myCache->load('request_uri_'.$uriKey);
		if(!$leftShowProduct){
			CMd5cmn::$showNumber = 4;
			$leftShowProduct = CMd5cmn::shuffleActionMap(CCache::getCombinlistItemMap());
			$myCache->save($leftShowProduct,'request_uri_'.$uriKey);
		}
		return $leftShowProduct;
	}

}

